From ff3b0e5f485aa253edb4a68eecab9cced8813a8e Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 11 Aug 2005 22:18:27 +0000 Subject: [PATCH] This patch fixes "xm reboot" command. Signed-off-by: Nguyen Anh Quynh --- tools/python/xen/xm/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index cbdbb1c0e8..d1a7fd4f57 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -289,13 +289,12 @@ def xm_destroy(args): args.insert(0,"bogus") destroy.main(args) -# TODO: make reboot do the right thing, right now -# reboot and shutdown are exactly the same def xm_reboot(args): arg_check(args,1,"reboot") # ugly hack because the opt parser apparently wants # the subcommand name just to throw it away! args.insert(0,"bogus") + args.insert(2,"-R") from xen.xm import shutdown shutdown.main(args) -- 2.30.2